<script setup lang="ts">
import { RouterView } from 'vue-router'
import { onBeforeUnmount } from 'vue'
import { ZYL_WKSDK } from './utils/WKSDK'
onBeforeUnmount(() => {
  ZYL_WKSDK?.disconnect()
})
</script>
<template>
  <div id="ZYL">
    <router-view v-slot="{ Component }">
      <transition name="fade" mode="out-in">
        <component :is="Component" />
      </transition>
    </router-view>
  </div>
</template>

<style lang="scss"></style>
